﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccountManage.aspx.cs"
    Inherits="Zyg.SSO.Web.Admin.AccountManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户管理 - SSO 后台管理系统</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="wrapper">
        <div id="head">
            <div id="headContent">
                <div id="siteTitle">
                    SSO后台管理系统
                </div>
                <div id="navBar">
                    <ul id="menu">
                        <li><a href="AccountManage.aspx" class="current">用户管理</a></li>
                        <li><a href="AdminManage.aspx">管理员管理</a></li>
                        <li><a href="RoleManage.aspx">角色管理</a></li>
                        <li><a href="AppManage.aspx">应用管理</a></li>
                        <li><a href="SysSettings.aspx">系统设置</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="sepBar">
        </div>
        <div id="common">
            <div id="userInfo">
                当前用户:
                <%= base.Account.Email %></div>
            <div id="time">
            </div>
            <div id="commonAction">
                <div id="logout">
                    <asp:HyperLink ID="Logout" NavigateUrl="~/Logout.aspx" runat="server">安全退出</asp:HyperLink>
                </div>
            </div>
        </div>
        <div id="content" class="clearfix">
            <div id="left">
                <div class="navItem">
                    <a href="Account/AddAccount.aspx" target="contentFrame"><span>添加用户</span></a>
                </div>
                <div class="navItem">
                    <a href="Account/AccountRegisterCheck.aspx" target="contentFrame"><span>审核用户</span></a>
                </div>
                <div class="navItem">
                    <a href="Account/AccountList.aspx" target="contentFrame"><span>全部用户</span></a>
                </div>
                <div class="navItem">
                    <a href="javascript:;"><span>帮助手册</span></a>
                </div>
                <div id="support">
                    <div id="supportHead">
                        技术支持</div>
                    <ul id="supportItem">
                        <li>Tel: 13594607275</li>
                        <li>QQ: 461663432</li>
                        <li>Email: yanggu1988@163.com</li>
                    </ul>
                </div>
            </div>
            <div id="right">
                <iframe id="contentFrame" name="contentFrame" src="Account/AccountList.aspx" width="100%"
                    height="400" frameborder="0" scrolling="no"></iframe>
                <!-- <table id="infoTable" class="infoTable" cellpadding="0" cellspacing="0" border="0">
                <tbody>
                    <tr>
                        <th>
                            <input type="checkbox" />
                        </th>
                        <th>
                            序号
                        </th>
                        <th>
                            标题
                        </th>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" />
                        </td>
                        <td>
                            1
                        </td>
                        <td>
                            标题1
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" />
                        </td>
                        <td>
                            2
                        </td>
                        <td>
                            标题2
                        </td>
                    </tr>
                </tbody>
                </table>
                <p>
                    <input type="button" value="For table1" id="btn1" />
                    <input type="button" value="For table2" id="btn2" />
                </p>
                <table id="infoTable2" class="infoTable" cellpadding="0" cellspacing="0" border="0">
                    <tbody>
                        <tr>
                            <th>
                                <input type="checkbox" />
                            </th>
                            <th>
                                序号
                            </th>
                            <th>
                                标题
                            </th>
                        </tr>
                        <tr>
                            <td>
                                <input type="checkbox" />
                            </td>
                            <td>
                                1
                            </td>
                            <td>
                                标题1
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input type="checkbox" />
                            </td>
                            <td>
                                2
                            </td>
                            <td>
                                标题2
                            </td>
                        </tr>
                    </tbody>
                </table>
                -->
            </div>
        </div>
        <div id="footer">
            <asp:Literal ID="Copyright" runat="server"></asp:Literal>
        </div>
    </div>
    </form>

    <script type="text/javascript" src="../script/jquery/jquery-1.3.2.min.js" charset="utf-8"></script>

    <script type="text/javascript" src="../script/zyg.sso.js" charset="utf-8"></script>

    <script type="text/javascript">
        zyg.sso.showTime("#time");

        zyg.iframe.autoFitHeight('#contentFrame');

        zyg.sso.infoTable({
            id: '#infoTable, #infoTable2',
            checkAll: true,
            checkChangedCallback: function() {
                var a = arguments[0];
                if (a.checkedCount == 0) {
                    if (a.id == 'infoTable') {
                        $("#btn1").attr("disabled", "disabled");
                    } else if (a.id == 'infoTable2') {
                        $("#btn2").attr("disabled", "disabled");
                    }
                } else {
                    if (a.id == 'infoTable') {
                        $("#btn1").attr("disabled", "");
                    } else if (a.id == 'infoTable2') {
                        $("#btn2").attr("disabled", "");
                    }
                }
            }
        });
    </script>

</body>
</html>
